load("//rs/tests:common.bzl", "MESSAGE_CANISTER_ENV", "MESSAGE_CANISTER_RUNTIME_DEPS")
load("//rs/tests:system_tests.bzl", "system_test_nns")

package(default_visibility = ["//rs:system-tests-pkg"])

system_test_nns(
    name = "vetkd_key_life_cycle_test",
    env = MESSAGE_CANISTER_ENV,
    tags = [
        "long_test",  # since it takes longer than 5 minutes.
    ],
    runtime_deps = MESSAGE_CANISTER_RUNTIME_DEPS,
    deps = [
        # Keep sorted.
        "//rs/config",
        "//rs/crypto/test_utils/reproducible_rng",
        "//rs/nns/constants",
        "//rs/registry/subnet_type",
        "//rs/rust_canisters/canister_test",
        "//rs/tests/consensus/tecdsa/utils",
        "//rs/tests/consensus/utils",
        "//rs/tests/driver:ic-system-test-driver",
        "//rs/types/management_canister_types",
        "//rs/types/types",
        "@crate_index//:anyhow",
        "@crate_index//:futures",
        "@crate_index//:ic-agent",
        "@crate_index//:ic-vetkeys",
        "@crate_index//:rand",
        "@crate_index//:slog",
    ],
)
